import Vue from 'vue'
import VueRouter from 'vue-router'
import InputPage from '../views/InputPage.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/input',
    name: 'InputPage',
    component: InputPage
  },
  {
    path: '/output',
    name: 'OutputPage',
    component: () => import('../views/OutputPage.vue')
  },
  {
    path: '/items',
    name: 'Items',
    component: () => import('../views/Items.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
